package com.tonysong.ssm.mapper;

import com.tonysong.ssm.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 宋伟宁
 * @Date 2023/9/19
 * @Version 1.0
 **/
public interface UserMapper {

     List<User> getAllUsers();

     User findById(Integer id);

     int addUser(User user);

     int updateUser(User user);

     int batch_delete(@Param("arr")String[] arr);

     User login(User user);

}
